package com.hl.card.modular.pack.dao;

import com.hl.card.modular.pack.model.DisMemberApplyModel;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * <p>
  * 合伙人申请表 Mapper 接口
 * </p>
 *
 * @author 袁伟
 * @since 2018-06-11
 */

@Component("disMemberApplyYMapper")
public interface DisMemberApplyMapper{
	
        public int addDisMemberApply(DisMemberApplyModel disMemberApply);
        
        public DisMemberApplyModel searchDisMemberApplyByUserId(Map<String,Object> map);
        
        public DisMemberApplyModel searchDisMemberApplyByNo(String order_no);
        
        public int updateDisMemberApply(DisMemberApplyModel disMemberApply);

        public List<Map<String, Object>> selectApplyList(Map<String, Object> map);
        
        public List<DisMemberApplyModel> queryMemberApplyList(Map<String, Object> map);

        public int queryIsExistDisMemberApply(Map<String,Object> map);
        
        public DisMemberApplyModel selectApplyById(Integer id);
        
        public DisMemberApplyModel searchDisMemberApplyInfo(String user_id);
        
        public int cancelDisMemberApply(Map<String, Object> map);
        
        public int cancelDisMemberApplyByNo(String order_no);
        
        
        public void updateRewardInfo(Map<String, Object> map);
        
        public String  getDismemberCodeByUserId(String user_id);
}